Starts onboard packet capture in the active running PCAP file.
Exec mode
This command is available only to users with the admin role.
You must configure the interface before configuring packet capture.
Only one mirror session is allowed per port.
A maximum of 10 mirror sessions per device are allowed.
Packet capture is not allowed if maximum PCAP files are already created.
When packet-count parameter is specified, the packet capture automatically stops on the interface after the specified number of packets are captured.
The maximum number of existing PCAP files cannot exceed 25.
The start command does not clear hardware entries.
Onboard packet capture is not persistent across reboot.
The following example starts packet capture.
device# capture start